<template>
  <div>
    测试页
    <button @click="proxyData">测试</button>
  </div>
</template>

<script>
import { reqCategoryList, reqFloorList, reqSwiperList } from '../../api/home'

export default {
  name: 'VTest',
  methods: {
    async proxyData() {
      // const data = await request.get('/api/product/getBaseCategoryList')
      const data1 = await reqCategoryList()
      const data2 = await reqFloorList()
      const data3 = await reqSwiperList()
      console.log(data1.data)
      console.log('楼层', data2)
      console.log('轮播图', data3)
    }
  }
}
</script>

<style lang="less" scoped></style>
